package com.ruoyi.mapper.jpjs.expensereport;


import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ExpenseReportMapper {

    List<Map<String,Object>> list(Map map);
    int add(Map map);
    Map<String,Object> findExpenseReportById(String id);
    int edit(Map map);

    List<Map<String,Object>> findProList(Map map);
    int addProValue(Map map);
    List<Map<String,Object>> findProByCompId(@Param("compId") String compId, @Param("valueType") String valueType);
    int editProValue(Map map);
    int findYearProCount(Map map);
    String findYearProMonthCount(Map map);



    List<Map<String,Object>> findDepList(Map map);
    int addDepValue(Map map);
    int editDepValue(Map map);
    int findYearDepCount(Map map);
    String findYearDepMonthCount(Map map);

    Map<String,Object> findMonthExpenseReportById(String id);

}
